package org.eclipse.jdt.internal.ui.callhierarchy;

public class MethodMethodWithBodyTemplate implements Template {

	public TemplateFlag getTemplateFlag() {
		return TemplateFlag.SETTER_BODY;
	}

	public String createTemplateContent() {
		StringBuilder template = new StringBuilder();
		
		template.append("\tpublic void set@@fieldName(@fieldType @fieldName) {\n");
		template.append("\t\t@methodBody\n");
		template.append("\t}\n");
		
		return template.toString();
	}

}
